@import "reset.css";
@import "prefix";

/*公共容器*/
.container {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}

/*公共方法*/

//清除浮动
.clearfix {
  *zoom: 1;

  &:after {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    overflow: hidden;
    height: 0;
  }
}

/*导航下标线动画*/
.animate-nav-line{
  position: relative;
  display: inline-block;
  padding: 8px 0;
  margin-bottom: -1px;
  line-height: 20px;
  &:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 100%;
    opacity: 0;
    border-bottom: 1px solid #F05DA3;
    -webkit-transform: translate(-50%) scaleX(0);
    transform: translate(-50%) scaleX(0);
    transition: .2s ease-in-out;
  }
  &:hover:after {
    opacity: 1;
    transform: translate(-50%) scaleX(1);
  }
}

/*公共头部*/
.public-header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 138px;
  background-color: rgba(255, 252, 251, 0.7);
  .container {
    height: 100%;
    .logo {
      float: left;
      width: 177px;
      height: 100%;
      & > a {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        &> {
          img {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            margin: auto;
          }
        }
      }
    }

    .nav {
      float: right;
      height: 100%;
      .list {
        height: 100%;
        li {
          float: left;
          line-height: 138px;
          margin-left: 70px;
          a {
            font-size: 20px;
            color: #F05DA3;
            &.active {
              border-bottom: 1px solid #F05DA3;
            }
          }
        }
      }
    }
  }
}

/*公共小标题*/
.public-title {
  padding: 1px 10px;
  &.border-left {
    //border-left: 6px solid #F05DA3;
  }
  &.border-right {
    text-align: right;
    border-right: 6px solid #F05DA3;
  }
  .caption {
    font-size: 30px;
    color: #F05DA3;
    line-height: 52px;
  }
  .en-caption {
    font-size: 20px;
    line-height: 20px;
    padding-top: 7px;
    color: #FCACD0;
  }
}

/*公共底部栏*/
.public-footer {

  .footer-content-1 {
    height: 314px;
    background-color: #616161;

    .container {
      padding-top: 106px;
      .address-area {
        float: left;
        .footer-logo {
          margin-bottom: 12px;
        }
        p {
          font-size: 12px;
          color: #fff;
          line-height: 24px;
        }
      }

      .list {
        float: right;
        ul {
          li {
            float: left;
            color: #fff;
            margin-left: 200px;
            .caption {
              text-align: center;
              margin-bottom: 12px;
            }

            .item-box {
              a.item-text {
                display: block;
                font-size: 12px;
                line-height: 24px;
                color: #fff;
              }
              a.logo-box {
                margin: 0 10px;
              }

              .code-box {
                text-align: center;
                .code-text {
                  display: block;
                  font-size: 12px;
                  margin-top: 10px;
                }
              }

            }
          }
        }
      }
    }
  }

  .footer-content-2 {
    height: 74px;
    background-color: #333;
    .container {
      height: 100%;
      line-height: 74px;
      color: #fff;
      .left {
        float: left;
        height: 100%;
        font-size: 12px;
        a {
          color: #fff;
          &:hover {
            text-decoration: underline;
          }
        }
      }
      .right {
        float: right;
        .list {
          height: 100%;
          li {
            float: left;
            height: 100%;
            margin-left: 48px;
            a {
              display: block;
              width: 100%;
              height: 100%;
              img {
                vertical-align: middle;
              }
            }
          }
        }
      }
    }
  }
}
